﻿using System;

namespace leap_year
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Enter any year");
            int year = int.Parse(Console.ReadLine());

            //if year devides on 4 or 400 without remainder then its a leap year
            if (year % 4 == 0)
            {
                Console.WriteLine(year + " is a lap year");
            }
            else if (year % 400 == 0)
            {
                Console.WriteLine(year + " is a lap year");
            }
            else
            {
                Console.WriteLine(year + " is not a lap year");
            }
            Console.ReadLine();
        }
    }
}
